
(function() {
    try {
        var renrenNames = document.getElementsByTagName('*');
        for (var i = 0; i < renrenNames.length; ++i) {
            if (renrenNames[i].namecard && renrenNames[i].href) {
                window.external.getName(renrenNames[i].href);
            }
        }
        window.external.getNameOver();
    } catch (e) {
        alert(e.message);
    }

})();

